package com.lw.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.lw.smartdevice.pojo.SysDevice;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/22 16:51
 */
public interface SysDeviceService {
    void addDevice(SysDevice device);

    int updateById(SysDevice device);

    PageInfo<SysDevice> findAll(int page,int limit,SysDevice sysDevice);

    SysDevice findById(String deviceId);

    void sendControl(String deviceId, String command);
}
